http://www.computing.net/unix/wwwboard/forum/6497.html
There's a little known device called /dev/zero which can quickly create a file of known size. This command:
dd if=/dev/zero of=myfile bs=1024 count=10
creates file "myfile" filled with zeros with a block size of 1000 muliplied 10 tens or 10K.
Hide Comments